package com.lijian.client.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "account-service")
public interface AccountFeign {
    @PostMapping("/account/login")
    public Object login(@RequestParam String type, @RequestParam String username, @RequestParam String password);
}
